package com.woniuxy.carlife.carlifecomprehensiveweb.service;

import com.woniuxy.carlife.carlifecomprehensiveweb.domain.Rescue;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.carlife.carlifecomprehensiveweb.dto.RescueDto;
import com.woniuxy.carlife.carlifecomprehensiveweb.param.RescueParam;

import java.util.List;

/**
 * @ClassName: RescueService
 *@Description: 道路救援数据层
 * @author: yanzhongliang     
 * @date: 2021-04-05
 */

public interface RescueService extends IService<Rescue> {

    /**
     * 功能描述〈新增门店救援记录〉
     * @author: yanzhongliang
     * @param: RescueParam
     * @return: int
     * @Date 2021/4/15 14:52
     * @throws
     */

    public int setRsecueInfolist(RescueParam rescueParam);

    /**
     * 功能描述〈根据车牌号查询救援记录〉
     * @author: yanzhongliang
     * @param: rescueLicense
     * @return: RescueDto
     * @Date 2021/4/15 17:29
     * @throws
     */

    public List<RescueDto> getRescueListAndRescueLicense(String rescueLicense);

    /**
     * 功能描述〈查询全部救援记录〉
     * @author: yanzhongliang
     * @param: null
     * @return: RescueDto
     * @Date 2021/4/15 17:29
     * @throws
     */

    public List<Rescue> getRescueList();

}
